<script type="text/javascript">
    function callbackAjaxDone(json){
        $.pdialog.closeCurrent();
        $.pdialog.close('dlg_pamrs');
    }
</script>
<div class="pageContent">
    <form id="myForm" method="post" action="addPaMr" class="pageForm required-validate" onsubmit="return validateCallback(this, callbackAjaxDone);">
        <input type="hidden" value="<%=paid%>" name="paid"/>
        <div class="pageFormContent" layoutH="56">
            <p>
                <label>时间：</label>
                <input type="text" name="pamrdate" class="date required textInput" readonly size="30" /><a class="inputDateButton" href="javascript:;">选择</a>
            </p>
            <p>
                <label>内容：</label>
                <textarea name="pamrcon" class="required textInput" cols="30" rows="2"></textarea>
            </p>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit" class="submitForm" fresh="true" rel="addpamr_sub">保存</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>